#define  _CRT_SECURE_NO_WARNINGS 1
#include"SList.h"
void STLTestSList()
{
	STLNode * pilst = NULL;
	STLPushFront(&pilst, 1);
	STLPushBack(&pilst, 2);
	STLPushBack(&pilst, 3);
	STLPushBack(&pilst, 4);
	STLNode* pos = STFind(pilst, 3);
	/*if (pos)
	{
		SLInsert(&pilst, pos, 200);
	}
	STLPrint(pilst);*/

	if (pos)
	{
		SLErase(&pilst, pos);
	}
	STLPrint(pilst);
	LTDestroy(&pilst);
}

int main()
{
	STLTestSList();
	return 0;
}